package com.etc.dao;

import com.etc.entity.Books;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface BooksMapper {
    int deleteByPrimaryKey(Integer bId);

    int insert(Books record);

    List<Books> selectByPrimaryKey(@Param("bName") String bName);

    int updateByPrimaryKey(Books record);
}